package com.xbongbong.pro.common.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.common.pojo.SeniorCheckRepeatSearchPojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author jiangren.li
 * @version v1.0
 * @date 2022/11/02 15:51
 */
@Setter
@Getter
@ToString
public class SeniorReCheckSearchDTO extends CheckRepeatToolDTO {

    private static final long serialVersionUID = 7538182597832446291L;

    /**
     * 表单id
     */
    @NotNull(message = "{dto.msg.checkRepeat.formId.NotNull}")
    private Long formId;

    @NotNull(message = "{dto.msg.checkRepeat.searchList.NotNull}")
    private List<SeniorCheckRepeatSearchPojo> searchList;

    /**
     * 编辑点击查看重复数据时，会传入dataId，根据dataId将编辑的当前数据移除
     */
    private Long dataId;

    /**
     * 审批编辑点击查看重复数据时，会传入taskId，根据taskId将编辑的当前数据移除
     */
    private Long taskId;

}
